import {request} from './request';

export const fetchWechatJsApiConfig = (merchatId, url) => {
    return request({
        url: '/api/token/wechat-token/_js-api-config',
        method: 'get',
        params: {
            url: url,
            merchantId: merchatId,
        }
    });
};